// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index.js'
// 安装fastclick依赖包，解决移动端点击事件延迟0.3s的尴尬,--save在开发环境和打包的代码都使用该依赖
import fastClick from 'fastclick'
/* 轮播图的插件 */
import VueAwesomeSwiper from 'vue-awesome-swiper'

import 'swiper/dist/css/swiper.css'
/* reset.css 保证所有浏览器显示的效果一致 */
import '@styles/reset.css'
/* border.css 解决移动端多陪屏问题 */
import '@styles/border.css'
/* 图标库 */
import '@styles/iconfont.css'

Vue.use(VueAwesomeSwiper)
fastClick.attach(document.body)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
